package com.zenika.zenbinding.client.exception;

/**
 * Exception thrown by a validator. Extends DataException.
 * @author Zenika
 */
public class ValidatorException extends DataException {

	private static final long serialVersionUID = 1L;

	/**
	 * Simple constructor.
	 */
	public ValidatorException() {
		super();
	}

	/**
	 * Constructor with specification of the stack trace message.
	 * @param mess
	 */
	public ValidatorException(String mess) {
		super(mess);
	}

	/**
	 * Constructor with the specification of a DataMessage.
	 * @param message
	 */
	public ValidatorException(DataMessage message) {
		super();
		this.setDataMessage(message);
	}

}
